package com.baidu.mapper;

import com.baidu.pojo.TbUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Entity com.baidu.pojo.TbUser
 */
@Component
@Mapper
public interface TbUserMapper extends BaseMapper<TbUser> {

    @Select("select * from tb_user where phone=#{phone}")
    TbUser findPhone(@Param("phone") String phone);
}




